import Mock from 'mockjs';


export default {
    className: "Audit.Model.AssetsDownRecord",
    queryData: function(postData) {
        return Mock.mock({
            isSuccess: "Y",
            reason: "",
            message: [],
            "data": {
                "recordCount": 38,
                "pageCount": 1,
                "pageIndex": 1,
                "pageSize": 20,
                "queryResult|38": [{
                    "keyID|1000-9999": 1000,
                    "assetsCode": /^[0-9][0-9][0-9][0-9][0-9]$/,
                    "assetsName": "风味人间",
                    "siteName": "cms",
                    "type": "资产下发",
                    "bitStream": "HD(1080P)",
                    "createTime": Mock.mock('@now'),
                    "status": "处理成功",
                    "message": "处理成功",
                    "version": 1,
                }]
            }
        });
    },
    // queryByKeyID: function(postData) {
    //     return Mock.mock({
    //         isSuccess: "Y",
    //         reason: "",
    //         message: [],
    //         "data": {
    //             "keyID|1000-9999": 1000,
    //             "code": /^[a-z][a-z][a-z][a-z][a-z]$/,
    //             "name": Mock.mock('@ctitle'),
    //             "enName": /^[A-Z][a-z][a-z][a-z][a-z][A-Z][a-z][a-z][a-z][a-z]$/,
    //             "desc": Mock.mock('@ctitle'),
    //             "creationBy": "admin",
    //             "createTime": Mock.mock('@now'),
    //             "lastUpdatedBy": "admin",
    //             "lastUpdateTime": Mock.mock('@now'),
    //             "version": 1,
    //             "isEnabled": "有效",
    //             "isEnabledVal": "Available"
    //         }
    //     });
    // },
};
